IdeaBlade DevForce 2010 Help Reference
Format(IFormatProvider,String,Object[]) Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > GrammarString Class > Format Method : Format(IFormatProvider,String,Object[]) Method



pProvider
pFormat
pParams
Same syntax as String.Format(). The format string additionally understands grammatical rules that are reflectively called to the GrammarString.Library instance. See GrammarLibrary for a list of default rules and their syntax.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function Format( _
   ByVal pProvider As IFormatProvider, _
   ByVal pFormat As String, _
   ByVal ParamArray pParams() As Object _
) As String
Visual Basic (Usage)Copy Code
Dim pProvider As IFormatProvider
Dim pFormat As String
Dim pParams() As Object
Dim value As String
 
value = GrammarString.Format(pProvider, pFormat, pParams)
C# 
public static string Format( 
   IFormatProvider pProvider,
   string pFormat,
   params object[] pParams
)
C++/CLI 
public:
static String^ Format( 
   IFormatProvider^ pProvider,
   String^ pFormat,
   ... array<Object^>^ pParams
) 

Parameters

pProvider
pFormat
pParams

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.